package com.wiz.to;

import java.io.Serializable;
import java.util.Date;

import com.wiz.util.KeyUtil;

public class StationTO implements Serializable {
	private static final long serialVersionUID = 1L;
	private String hqId;//油站总部id
	private String hqName;//油站总部名
	private String stationId;//油站站点id
	private String stationName;//油站站点名
	private String registeredName;//营业执照名称
	private String registeredNumber;//营业执照编号
	private String legalRepresentative;//法人/代理人
	private String address;//地址
	private String contactsName;//联系人
	private String phoneNum;//电话
	private String email;//邮箱
	private int fpCnt;//油枪数量
	private int dispenserCnt;//油机数量
	private String dispenserBrand;//油机品牌
	private String lat;//经度
	private String lng;//纬度
	private String memo;//备注
	private Date createdTime;//创建时间
	private Date updateTime;//修改时间
	private String provinceId;//省份编码
	private String province;//省份名称
	private String cityId;//城市编码
	private String city;//城市名称
	
	
	private int stationType;//站点类别：1分站，2总站
	private String activationCode;//激活码
	

	public StationTO() {
		super();
	}
	
	public StationTO(HQBaseInfoTO hqBaseInfoTO) {
		super();
		this.hqId = hqBaseInfoTO.getHqId();
		this.hqName = hqBaseInfoTO.getHqName();
		this.stationId = hqBaseInfoTO.getHqId();
		this.stationName = hqBaseInfoTO.getHqName();
		this.registeredName =hqBaseInfoTO.getRegisteredName();
		this.registeredNumber = hqBaseInfoTO.getRegisteredNumber();
		this.legalRepresentative = hqBaseInfoTO.getLegalRepresentative();
		this.address = hqBaseInfoTO.getAddress();
		this.contactsName = hqBaseInfoTO.getContactsName();
		this.phoneNum = hqBaseInfoTO.getPhoneNum();
		this.email = hqBaseInfoTO.getEmail();
		this.fpCnt = 0;
		this.dispenserCnt = 0;
		this.dispenserBrand = "0";
		this.lat = null;
		this.lng = null;
		this.memo = hqBaseInfoTO.getMemo();
		this.createdTime = hqBaseInfoTO.getCreatedTime();
		this.updateTime = hqBaseInfoTO.getUpdateTime();
		this.provinceId = hqBaseInfoTO.getProvinceId();
		this.province = hqBaseInfoTO.getProvince();
		this.cityId = hqBaseInfoTO.getCityId();
		this.city = hqBaseInfoTO.getCity();
		this.stationType = 2;
	}

	public StationTO(String hqId, String hqName, String stationId,
			String stationName, String registeredName, String registeredNumber,
			String legalRepresentative, String address, String contactsName,
			String phoneNum, String email, int fpCnt, int dispenserCnt,
			String dispenserBrand, String lat, String lng, String memo,
			Date createdTime, String provinceId, String province,
			String cityId, String city, int stationType,
			String activationCode,Date updateTime) {
		super();
		this.hqId = hqId;
		this.hqName = hqName;
		this.stationId = stationId;
		this.stationName = stationName;
		this.registeredName = registeredName;
		this.registeredNumber = registeredNumber;
		this.legalRepresentative = legalRepresentative;
		this.address = address;
		this.contactsName = contactsName;
		this.phoneNum = phoneNum;
		this.email = email;
		this.fpCnt = fpCnt;
		this.dispenserCnt = dispenserCnt;
		this.dispenserBrand = dispenserBrand;
		this.lat = lat;
		this.lng = lng;
		this.memo = memo;
		this.createdTime = createdTime;
		this.updateTime = updateTime;
		this.provinceId = provinceId;
		this.province = province;
		this.cityId = cityId;
		this.city = city;
		this.stationType = stationType;
		this.activationCode = activationCode;
	}

	public String getHqId() {
		return hqId;
	}
	public void setHqId(String hqId) {
		this.hqId = hqId;
	}
	public String getHqName() {
		return hqName;
	}
	public void setHqName(String hqName) {
		this.hqName = hqName;
	}
	public String getStationId() {
		return stationId;
	}
	public void setStationId(String stationId) {
		this.stationId = stationId;
	}
	public String getStationName() {
		return stationName;
	}
	public void setStationName(String stationName) {
		this.stationName = stationName;
	}
	public String getRegisteredName() {
		return registeredName;
	}
	public void setRegisteredName(String registeredName) {
		this.registeredName = registeredName;
	}
	public String getRegisteredNumber() {
		return registeredNumber;
	}
	public void setRegisteredNumber(String registeredNumber) {
		this.registeredNumber = registeredNumber;
	}
	public String getLegalRepresentative() {
		return legalRepresentative;
	}
	public void setLegalRepresentative(String legalRepresentative) {
		this.legalRepresentative = legalRepresentative;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getContactsName() {
		return contactsName;
	}
	public void setContactsName(String contactsName) {
		this.contactsName = contactsName;
	}
	public String getPhoneNum() {
		return phoneNum;
	}
	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	
	public int getFpCnt() {
		return fpCnt;
	}
	public void setFpCnt(int fpCnt) {
		this.fpCnt = fpCnt;
	}
	public int getDispenserCnt() {
		return dispenserCnt;
	}
	public void setDispenserCnt(int dispenserCnt) {
		this.dispenserCnt = dispenserCnt;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public String getDispenserBrand() {
		return dispenserBrand;
	}
	public void setDispenserBrand(String dispenserBrand) {
		this.dispenserBrand = dispenserBrand;
	}
	public String getLat() {
		return lat;
	}
	public void setLat(String lat) {
		this.lat = lat;
	}
	public String getLng() {
		return lng;
	}
	public void setLng(String lng) {
		this.lng = lng;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public Date getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}
	public int getStationType() {
		return stationType;
	}
	public void setStationType(int stationType) {
		this.stationType = stationType;
	}

	public String getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(String provinceId) {
		this.provinceId = provinceId;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCityId() {
		return cityId;
	}

	public void setCityId(String cityId) {
		this.cityId = cityId;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getActivationCode() {
		return activationCode;
	}

	public void setActivationCode(String activationCode) {
		this.activationCode = activationCode;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	
	
	
}
